Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

878
Visualizações
[ng update]: Error - The "@angular-devkit/schematics" package cannot be resolved from the workspace root directory
ng update

The "@angular-devkit/schematics" package cannot be resolved from the workspace root directory. This may be due to an unsupported node modules structure. Please remove both the "node_modules" directory and the package lock file; and then reinstall. If this does not correct the problem, please temporarily install the "@angular-devkit/schematics" package within the workspace. It can be removed once the update is complete.

over 4 years ago · Santiago Trujillo
4 Respostas
Responde à pergunta

0

I had this issue

First I ran this to see the structure of the package

npm ls @angular-devkit/schematics

it returned....

Mms@0.0.0 C:\Users\wgrant\source\repos\WD\MMS\Mms\ClientApp

`-- (empty)

since it was empty I ran the following (if yours is not empty maybe try update instead of install)

npm install @angular-devkit/schematics

and after this, the 'ng update' ran successfuly

over 4 years ago · Santiago Trujillo Relatório

0

first use the command

npm remove -g @angular/cli

and then

npm install -g @angular/cli

in my case solved and installed the latest version of the angular

over 4 years ago · Santiago Trujillo Relatório

0

In my case, I needed to just run

npm install

then the command

ng update @angular/core @angular/cli 

completed successfully

over 4 years ago · Santiago Trujillo Relatório

0

In my case, I was running the ng update command in a directory which didn't have the package.json. Running the command in correct directory fixed it for me.

over 4 years ago · Santiago Trujillo Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda